package cn.com.api.service;

import java.util.Map;

import org.springframework.stereotype.Service;

import cn.com.api.entity.ApiDingDan;
import cn.com.api.requestpage.OrderMessagePage;

@Service
public interface ApiTOrderMessageService {
	/**
	 * 提醒接单
	 * 
	 * @param orderMessagePage
	 * @param map
	 * @throws Exception
	 */
	public void remindTakeOrder(OrderMessagePage orderMessagePage,
			Map<String, Object> map) throws Exception;

	/**
	 * 提醒发货
	 * 
	 * @param orderMessagePage
	 * @param map
	 * @throws Exception
	 */
	public void remindSendGoods(OrderMessagePage orderMessagePage,
			Map<String, Object> map) throws Exception;
	
	/**
	 * 给商家新订单消息提醒
	 * @param dingDan
	 */
	public void sendShopNewOrderMessage(ApiDingDan dingDan);
	
	/**
	 * 提醒配送员有新的配送任务
	 * @param u_id
	 * @param titles
	 */
	public void remindSenderNewTask(String u_id, String titles);
	
	/**
	 * 提醒客户订单在配送途中
	 * @param u_id
	 * @param titles
	 */
	public void remindUserOrderInSending(String u_id, String titles);
	
	/**
	 * 给客户推送消息，让客户对已完成的订单进行评价
	 * @param u_id
	 * @param titles
	 */
	public void remindUserEvaluate(String u_id, String titles);
	
	public void remindSenderForClothes(String shop_id, String orderId);

}
